adTempus API
ArcanaDevelopment.adTempus.Client.Collections Namespace / ObjectCollectionT<T> Class / MoveUp Method
The item to move


In This Topic
    MoveUp Method
    In This Topic
    Moves the item up one spot in the collection (to a smaller index)
    Syntax
    'Declaration
     
    
    Public Overridable Function MoveUp( _
       ByVal item As T _
    ) As Integer
    public virtual int MoveUp( 
       T item
    )
    public:
    virtual int MoveUp( 
       T^ item
    ) 

    Parameters

    item
    The item to move

    Return Value

    The item's new position, or -1 if the item was not found in the collection.
    See Also